﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace RaisingStudio.Data.Entities
{
    /// <summary>
    /// Inventory
    /// </summary>
    [Serializable]
    [DataContract]
    [Table(Name = "Inventory")]
    partial class Inventory
    {
        #region Members

        private string _ItemId;
        /// <summary>
        /// ItemId
        /// </summary>
        [Description("ItemId")]
        [DataMember]
        [Column(Name = "ItemId", CanBeNull = false, IsPrimaryKey = true)]
        public string ItemId
        {
          get 
          {
              return this._ItemId;
          }
          set 
          {
              this._ItemId = value;
          }
        }


        private int _Qty;
        /// <summary>
        /// Qty
        /// </summary>
        [Description("Qty")]
        [DataMember]
        [Column(Name = "Qty", CanBeNull = false)]
        public int Qty
        {
          get 
          {
              return this._Qty;
          }
          set 
          {
              this._Qty = value;
          }
        }

        #endregion
    }
}
